Continuation Passing Style - определение. Что такое Continuation Passing Style
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое Continuation Passing Style - определение

PROGRAMMING STYLE
Continuation passing style; CPS conversion; Direct style; Continuation passing; Continuation Passing Style; Continuation-passing
Найдено результатов: 1655
Continuation-passing style         
In functional programming, continuation-passing style (CPS) is a style of programming in which control is passed explicitly in the form of a continuation. This is contrasted with direct style, which is the usual style of programming.
Continuation Passing Style         
(CPS) A semantically clean language with continuations used as an intermediate language for Scheme and the SML/NJ compiler. ["Rabbit: A Compiler for Scheme", G.L. Steele, AI-TR-474, MIT (May 1978)]. ["Compiling With Continuations", A. Appel, Cambridge U Press 1992].
continuation passing style         
<programming> (CPS) A style of programming in which every user function f takes an extra argument c known as a continuation. Whenever f would normally return a result r to its caller, it instead returns the result of applying the continuation to r. The continuation thus represents the whole of the rest of the computation. Some examples: normal (direct style) --> continuation passing square x = x * x square x k = k (x*x) g (square 23) square 23 g (square 3) + 1 square 3 ( s . s+1 ) (1995-04-04)
Delimited continuation         
A CONTINUATION THAT RETURNS A VALUE AND THUS MAY BE REUSED AND COMPOSED
Partial continuation; Composable continuation; Shift/reset; Shift-reset; Delimited continuations; Shift and reset
In programming languages, a delimited continuation, composable continuation or partial continuation, is a "slice" of a continuation frame that has been reified into a function. Unlike regular continuations, delimited continuations return a value, and thus may be reused and composed.
Style (sociolinguistics)         
  • Robert Podesva's depiction of the indexical relationships between linguistic resources, acts or activities, stance and style.
SET OF LINGUISTIC VARIANTS WITH SPECIFIC SOCIAL MEANINGS
Style-shifting; Style shifting; Wikipedia talk:Articles for creation/Style (sociolinguistics); Speech style
In sociolinguistics, a style is a set of linguistic variants with specific social meanings. In this context, social meanings can include group membership, personal attributes, or beliefs.
call/cc         
CONTROL FLOW OPERATOR IN FUNCTIONAL PROGRAMMING
Call with current continuation; Callcc; Call/cc; Continuation object
call-with-current-continuation         
CONTROL FLOW OPERATOR IN FUNCTIONAL PROGRAMMING
Call with current continuation; Callcc; Call/cc; Continuation object
<Lisp, programming> (call/cc) A Lisp control function that takes a function f as its argument and calls f, passing it the current continuation, which is itself a function, k. k, which represents the context of the call to call/cc, takes the result of call/cc (which is the result of f) and returns the final result of the whole program. Thus if, for example, the final result is to print the value returned by call/cc then anything passed to k will also be printed. E.g, in Scheme: (define (f k) (k 1) (k 2) 3) (display (call-with-current-continuation f)) Will display 1. (2001-04-27)
Call-with-current-continuation         
CONTROL FLOW OPERATOR IN FUNCTIONAL PROGRAMMING
Call with current continuation; Callcc; Call/cc; Continuation object
In the Scheme computer programming language, the procedure call-with-current-continuation, abbreviated call/cc, is used as a control flow operator. It has been adopted by several other programming languages.
Style brisé         
TEXTURE OF INSTRUMENTAL MUSIC OF THE FRENCH BAROQUE
Style brise; Style luthé; Luthé
Style brisé (French: "broken style") is a general term for irregular arpeggiated texture in instrumental music of the Baroque period. It is commonly used in discussion of music for lute, keyboard instruments, or the viol.
stylize         
  • [[Paleolithic]] stone tools grouped by period
  • Islamic]] ornament in ivory, centred on a [[palmette]]; [[Alois Riegl]]'s ''[[Stilfragen]]'' (1893) traced the evolution and transmission of such motifs.
  • ''Les Demoiselles d'Avignon'' (1907), also by Picasso in a different style ("[[Picasso's African Period]]") four years later
  • Painting of ''[[Christ among the Doctors]]'', catalogued by [[Christie's]] as "Manner of Rembrandt Harmensz van Rijn" and sold for £750 in 2010
  • Aerial view of the very stylized prehistoric [[Uffington White Horse]] in England
CLASSIFICATION OF AN ART WORK, BASED ON HOW IT IS PERCEIVED BY THE AUDIENCE, SPECIFIC TO AN ARTIST OR SHARED WITH OTHER WORKS OF THE SAME MOVEMENT OR SCHOOL
Painting Styles; Painting styles; Styles of Painting; Styles of painting; Art styles; Artistic style; Visual style; Painting style; Style in art; Style (aesthetics); Stylization; Stylized art; Manner of (art); Stylize; Stylizes; Stylized; Stylizing; Stylizations; Stylise; Stylises; Stylised; Stylising; Stylisation; Stylisational; Stylisationally; Stylisations; Stylizings; Stylisings; Stylizer; Styliser; Stylizers; Stylisers; Stylism; Stylisms; Style over substance; Style (visual art); Art style; Signature Style; Signature style
style="padding-left: 20px">or stylise
style="padding-left: 20px">¦ verb [usu. as adjective stylized] depict or treat in a mannered and non-realistic style.
style="padding-left: 20px">
style="padding-left: 20px">Derivatives
style="padding-left: 20px">stylization noun

Википедия

Continuation-passing style

In functional programming, continuation-passing style (CPS) is a style of programming in which control is passed explicitly in the form of a continuation. This is contrasted with direct style, which is the usual style of programming. Gerald Jay Sussman and Guy L. Steele, Jr. coined the phrase in AI Memo 349 (1975), which sets out the first version of the Scheme programming language.John C. Reynolds gives a detailed account of the numerous discoveries of continuations.

A function written in continuation-passing style takes an extra argument: an explicit "continuation"; i.e., a function of one argument. When the CPS function has computed its result value, it "returns" it by calling the continuation function with this value as the argument. That means that when invoking a CPS function, the calling function is required to supply a procedure to be invoked with the subroutine's "return" value. Expressing code in this form makes a number of things explicit which are implicit in direct style. These include: procedure returns, which become apparent as calls to a continuation; intermediate values, which are all given names; order of argument evaluation, which is made explicit; and tail calls, which simply call a procedure with the same continuation, unmodified, that was passed to the caller.

Programs can be automatically transformed from direct style to CPS. Functional and logic compilers often use CPS as an intermediate representation where a compiler for an imperative or procedural programming language would use static single assignment form (SSA). SSA is formally equivalent to a subset of CPS (excluding non-local control flow, which does not occur when CPS is used as intermediate representation). Functional compilers can also use A-normal form (ANF) (but only for languages requiring eager evaluation), rather than with 'thunks' (described in the examples below) in CPS. CPS is used more frequently by compilers than by programmers as a local or global style.